Fix track read on big endian systems.
authorrobertl <robertl>
Tue, 16 May 2006 21:35:07 +0000 (21:35 +0000)
committerrobertl <robertl>
Tue, 16 May 2006 21:35:07 +0000 (21:35 +0000)
tpo.c

diff --git a/tpo.c b/tpo.c
index c803529885d79bad0f734bd23fa900d5bed282e2..91464d80b542b03103b55e39e36292a1deb4f9c5 100644 (file)
--- a/tpo.c
+++ b/tpo.c
@@ -434,7 +434,7 @@ void tpo_read_2_x(void)
 //
 int tpo_read_8()
 {
-    int val = 0;
+    char val = 0;
 
     tpo_fread(&val, 1, 1, tpo_file_in);
     return(val);